package com.month.security.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@TableName("sys_user")
@Schema(description = "系统用户")
public class SysUser implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "修改时间")
    private LocalDateTime updatedAt;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
}
